Package-level declarations
Types
Link copied to clipboard
data class MongoInfo(var mongoAddress: String = if (System.getenv("DB_CONNECTION_ADDRESS") == null) {
"mongodb://localhost:27017"
} else {
System.getenv(
"DB_CONNECTION_ADDRESS",
)
}, val databaseName: String = "Warehouse", val collectionName: String = "Ingredient")
Data class that contains the information necessary to connect to the database
Link copied to clipboard
class SetupLogger
This class setup the context loggers
Link copied to clipboard
Class that contains the information necessary to update an ingredient quantity in the warehouse
Link copied to clipboard
object WarehouseMessageToCode
Object that maps WarehouseMessage into Http codes